import { defineStore } from 'pinia'
const useMainStore = defineStore('main', {
    state: () => {
      return {
        showPop:false
      }
    },
    getters: {},
    actions: {
      openShowPop(){
        this.$patch((state) => {
          state.showPop = true
        })
      },
      closeShowPop(){
        this.$patch((state) => {
          state.showPop = false
        })
      },
    },
  })

  
  export { useMainStore}